//
//  MLAEaterBookingNumView.m
//  MagicLampApp
//
//  Created by Zheng on 2019/4/9.
//  Copyright © 2019 zheng.magic.lamp.app. All rights reserved.
//

#import "MLAEaterBookingNumView.h"

@implementation MLAEaterBookingNumView

- (void)awakeFromNib {
    [super awakeFromNib];
    
}

- (IBAction)subBtnAction:(id)sender {
    if (_numLbl.text.integerValue == 1) {
        return;
    }
    
    _numLbl.text = [NSString stringWithFormat:@"%ld",_numLbl.text.integerValue-1];
}

- (IBAction)addBtnAction:(id)sender {
    
    _numLbl.text = [NSString stringWithFormat:@"%ld",_numLbl.text.integerValue+1];

}

@end
